-
Home
-
Packeta
-
1.2.2
-
Code
-
Classes
- Checkout
Total Complexity |
101 |
Dependencies |
12 |
Dependents |
7 |
Total lines |
693 |
Lines of code |
377 |
Logical lines of code |
211 |
Comment lines |
111 |
Methods |
22 |
Properties |
7 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validateCheckoutData() |
B |
40 |
18 |
61 |
updateOrderMeta() |
A |
41 |
15 |
52 |
updateOrderEntityFromPropsToSave() |
A |
49 |
10 |
32 |
calculateFees() |
A |
50 |
8 |
29 |
render_after_checkout_form() |
S |
44 |
5 |
47 |
getShippingRates() |
S |
50 |
6 |
27 |
getRateCost() |
S |
58 |
6 |
16 |
getCODSurcharge() |
S |
60 |
6 |
13 |
updateShippingRates() |
S |
59 |
5 |
14 |
getCarrierId() |
S |
63 |
3 |
10 |
getWidgetCarriersParam() |
S |
70 |
3 |
6 |
isHomeDeliveryOrder() |
S |
72 |
2 |
5 |
getChosenMethod() |
S |
66 |
2 |
8 |
isPickupPointOrder() |
S |
72 |
2 |
5 |
getCustomerCountry() |
S |
69 |
2 |
7 |
getCartWeightKg() |
S |
67 |
2 |
8 |
__construct() |
S |
69 |
1 |
7 |
getCartPrice() |
S |
80 |
1 |
3 |
register_hooks() |
S |
64 |
1 |
9 |
addPickupPointFields() |
S |
68 |
1 |
7 |
renderWidgetButton() |
S |
67 |
1 |
8 |
isPacketeryOrder() |
S |
78 |
1 |
3 |